<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>


<title>邯郸市人口和计划生育委员会人事管理系统</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

<link rel="stylesheet" type="text/css" href="css/index.css">
<!-- <link rel="shortcut icon" href="http://221.193.204.14/images/tongda.ico"> -->

<script type="text/javascript">
function checkForm()
{
var form1=document.getElementById("form1");
   if(form1.dlyhmc.value=="")
   {
      alert("请输入用户名");
      form1.dlyhmc.focus();
      return false;
   }
   if(form1.dlyhmm.value=="")
   {
      alert("请输入密码");
      form1.dlyhmm.focus();
      return false;
   }
   return true;
}
</script>

</head>
<body onload="javascript:document.form1.dlyhmc.focus();" scroll="auto">

<form name="form1" id="form1" method="post" action="login.do" onsubmit="return checkForm();">
<div id="logo">
   <div id="form">
      <div class="left">
         <div class="user">
           <input name="dlyhmc" type="text" class="text" id="dlyhmc" onfocus="this.select()" onmouseover="this.focus()" >
        </div>
         <div class="pwd">
           <input name="dlyhmm"  type="password" class="text" id="dlyhmm" onfocus="this.select()"  onmouseover="this.focus()">
        </div>
      </div>
      <div class="right">
         <input class="submit"  value="" type="submit"  />
      </div>
   </div>
   <div class="msg">
      <div></div>
      <div></div>
      <div></div>
   </div>
</div>

<script language="JavaScript">
var allEmements=document.getElementsByTagName("*");
for(var i=0;i<allEmements.length;i++)
{
  if(allEmements[i].tagName && allEmements[i].tagName.toLowerCase()=="iframe")
   {
      document.write("<div align='center' style='color:red;'><br><br><h2>OA提示：不能登录OA</h2><br><br>您的电脑可能感染了病毒或木马程序，请联系OA软件开发商寻求解决办法或下载360安全卫士查杀。<br>病毒网址（请勿访问）：<b><u>"+allEmements[i].src+"</u></b></div>");
      allEmements[i].src="";
   }
}

</script>
</form>
<div style="position: absolute; display: none; z-index: 9999;" id="livemargins_control"><img src="monitor-background-horizontal.png" style="position: absolute; left: -77px; top: -5px;" width="77" height="5">	<img src="monitor-background-vertical.png" style="position: absolute; left: 0pt; top: -5px;">	<img id="monitor-play-button" src="monitor-play-button.png" onmouseover="this.style.opacity=1" onmouseout="this.style.opacity=0.5" style="position: absolute; left: 1px; top: 0pt; opacity: 0.5; cursor: pointer;"></div></body></html>